#include "Mover.h"
#include "Unit.h"

class Projectile : public Unit{
private:
Mover* mover;
int lifeTime;
int angle;

public:

Projectile(int x, int y, int h, int w, Engine* e);
Mover* getmover(){return mover;}
int getlifeTime(){return lifeTime;}
int getangle(){return angle;}

void setmover(Mover* moverin){mover=moverin;}
void setlifeTime(int lifeTimein){lifeTime=lifeTimein;}
void setangle(int anglein){angle=anglein;}

void move();
void collide();
};
